Optimal. Leaf size=48 \[ \frac{\log \left (a+b e^{c-d x}\right )}{a^2 d}+\frac{x}{a^2}-\frac{1}{a d \left (a+b e^{c-d x}\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0343803, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {2282, 44} \[ \frac{\log \left (a+b e^{c-d x}\right )}{a^2 d}+\frac{x}{a^2}-\frac{1}{a d \left (a+b e^{c-d x}\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 44
Rubi steps
\begin{align*} \int \frac{1}{\left (a+b e^{c-d x}\right )^2} \, dx &=-\frac{\operatorname{Subst}\left (\int \frac{1}{x (a+b x)^2} \, dx,x,e^{c-d x}\right )}{d}\\ &=-\frac{\operatorname{Subst}\left (\int \left (\frac{1}{a^2 x}-\frac{b}{a (a+b x)^2}-\frac{b}{a^2 (a+b x)}\right ) \, dx,x,e^{c-d x}\right )}{d}\\ &=-\frac{1}{a d \left (a+b e^{c-d x}\right )}+\frac{x}{a^2}+\frac{\log \left (a+b e^{c-d x}\right )}{a^2 d}\\ \end{align*}
Mathematica [A] time = 0.0533904, size = 42, normalized size = 0.88 \[ \frac{\frac{b e^c}{a e^{d x}+b e^c}+\log \left (a e^{d x}+b e^c\right )}{a^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 58, normalized size = 1.2 \begin{align*} -{\frac{\ln \left ({{\rm e}^{-dx+c}} \right ) }{{a}^{2}d}}+{\frac{\ln \left ( a+b{{\rm e}^{-dx+c}} \right ) }{{a}^{2}d}}-{\frac{1}{ad \left ( a+b{{\rm e}^{-dx+c}} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.05986, size = 74, normalized size = 1.54 \begin{align*} -\frac{1}{{\left (a b e^{\left (-d x + c\right )} + a^{2}\right )} d} + \frac{d x - c}{a^{2} d} + \frac{\log \left (b e^{\left (-d x + c\right )} + a\right )}{a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.54335, size = 151, normalized size = 3.15 \begin{align*} \frac{b d x e^{\left (-d x + c\right )} + a d x +{\left (b e^{\left (-d x + c\right )} + a\right )} \log \left (b e^{\left (-d x + c\right )} + a\right ) - a}{a^{2} b d e^{\left (-d x + c\right )} + a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.218504, size = 39, normalized size = 0.81 \begin{align*} - \frac{1}{a^{2} d + a b d e^{c - d x}} + \frac{x}{a^{2}} + \frac{\log{\left (\frac{a}{b} + e^{c - d x} \right )}}{a^{2} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.2521, size = 76, normalized size = 1.58 \begin{align*} \frac{d x - c}{a^{2} d} + \frac{\log \left ({\left | b e^{\left (-d x + c\right )} + a \right |}\right )}{a^{2} d} - \frac{1}{{\left (b e^{\left (-d x + c\right )} + a\right )} a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]